{include file='header'}
<link rel="stylesheet" href="__PUBLIC__css/user.css">
{include file='nav'}
{include file='profile/userinfo'}
<div class="user-main">
	{include file='profile/nav'}
	<div class="user-content">
		<div class="me-order">
			<h2>我的订单</h2>
			{empty name="$data"}
			{include file='profile/none'}
			{else /}
			<ul class="order-lists">
				{foreach $data as $v}
				<li>
					<div class="icon" style="background: {$navData[$v['nav_id']]['back']};">
						<i class="iconfont icon-{$navData[$v['nav_id']]['icon']}"></i>
					</div>
					<div class="txt">
						<h3>{$v.title}</h3>
						<h4>￥{$v.money}</h4>
						<p>订单时间：{$v.updated_time} 订单编号：{$v.order_id}</p>
					</div>
					<div class="state">
						{if $v.status eq 1}
						<p>已完成</p>
						<p>实际付款：￥{$v.money}</p>
						{else}
						<p class="unpaid">未支付</p>
						<div class="btn">
							<a href="pay.html">去支付</a>
						</div>
						{/if}
					</div>
				</li>
				{/foreach}
			</ul>
			<div class="page">{$data->render()}</div>
			{/empty}
		</div>
	</div>
</div>
{include file='footer'}
